set term gif
set output '../data/metrics.gif'
set title "Environment Metrics"

set key out horiz
set key bottom center

set xlabel "Steps"

set yrange [0:100]
set ylabel "%"
set ytics 10 nomirror

set y2range [0:*]
set y2label "quota"
set y2tics 20 nomirror

plot "../data/data.tmp" using 1 smooth bezier title 'Environment Damage' with linespoints, \
     "../data/data.tmp" using 2 smooth bezier title 'Resource Usage Efficiency' with linespoints, \
     "../data/data.tmp" using 3 smooth bezier title 'Quota Fulfillment' with linespoints, \
     "../data/data.tmp" using 5 title 'Quota Norm' with linespoints axes x1y2
